package com.woniuxy.pxxt.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <P> @Author: ideaAdmin
 * <P> TODO: Class
 * <P> TODO: 具备所有类的共同属性
 * <P> Date: 2022/3/7:13:59
 * <P> Description:
 */
@ApiModel(description = "所有类创建时间和逻辑删除 和 创建者")
@Data
public class BaseEntity {

    @ApiModelProperty(value  = "创建时间" )
    private Date createTime;

    @ApiModelProperty(value  = "更新时间" )
    private Date updateTime;

     @ApiModelProperty(value  = "更改人" )
    private String updatePeople;

    @ApiModelProperty(value  = "逻辑删除(0为正常 1为删除)" )
    private Integer isDeleted;
}
